using System;

namespace WCSFContrib.Extensions.EventBroker
{
	[AttributeUsage(AttributeTargets.Event, AllowMultiple = false)]
	public sealed class EventPublicationAttribute : Attribute
	{
		private string topic;

		public EventPublicationAttribute(string topic)
		{
			this.topic = topic;
		}

		public string Topic
		{
			get { return topic; }
		}
	}
}